<%--
  Created by IntelliJ IDEA.
  User: 我爱陈果果
  Date: 2020/8/17
  Time: 19:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- #section:basics/sidebar -->
<ul class="nav nav-list">
    <li class="active">
        <a href="${basePath}user?method=toIndex">
            <i class="menu-icon fa fa-tachometer"></i>
            <span class="menu-text"> 总控制台 </span>
        </a>

        <b class="arrow"></b>
    </li>

    <li class="${outerLi == 'user'?'active open':''}">
        <a href="#" class="dropdown-toggle">
            <i class="menu-icon fa fa-users"></i>
            <span class="menu-text"> 用户管理 </span>

            <b class="arrow fa fa-angle-down"></b>
        </a>

        <b class="arrow"></b>

        <ul class="submenu">

            <li class="${innerLi == 'showUser' || innerLi == 'showUserVIP'?'active':''}">
                <c:if test="${Supertube eq 'F'}" var="s">
                    <a href="${basePath}user?method=index">
                        <i class="menu-icon fa fa-caret-right"></i>用户信息
                    </a>
                    <b class="arrow"></b>
                </c:if>
                <c:if test="${Supertube eq 'T'}">
                    <a href="${basePath}user?method=indexVIP">
                        <i class="menu-icon fa fa-caret-right"></i>用户信息
                    </a>
                    <b class="arrow"></b>
                </c:if>
            </li>
            <li class="${innerLi == 'updateUser'?'active':''}">
                <a href="${basePath}user?method=queryUser&id=${sessionScope.user.id}">
                    <i class="menu-icon fa fa-caret-right"></i>修改个人信息
                </a>
                <b class="arrow"></b>
            </li>
        </ul>
    </li>
    <li class="${(outerLi == 'varieties'||outerLi == 'knowledge'||outerLi == 'catPost')?'active open':''}">
        <a href="#" class="dropdown-toggle">
            <i class="menu-icon fa fa-paw"></i>
            <span class="menu-text"> 猫咪管理 </span>

            <b class="arrow fa fa-angle-down"></b>
        </a>

        <b class="arrow"></b>

        <ul class="submenu">

            <li class="${innerLi == 'showVarieties'?'active':''}">
                <a href="${basePath}varieties?method=index">
                    <i class="menu-icon fa fa-caret-right"></i>品种信息
                </a>
                <b class="arrow"></b>


            </li>
            <li class="${innerLi == 'showKnowledge'?'active':''}">
                <a href="${basePath}knowledge?method=index">
                    <i class="menu-icon fa fa-caret-right"></i>选猫知识
                </a>
                <b class="arrow"></b>
            </li>
            <li class="${innerLi == 'showCatPost'?'active':''}">
                <a href="${basePath}catPost?method=index">
                    <i class="menu-icon fa fa-caret-right"></i>猫咪帖子
                </a>
                <b class="arrow"></b>
            </li>
        </ul>
    </li>

    <li class="${outerLi == 'system'?'active open':''}">
        <a href="#" class="dropdown-toggle">
            <i class="menu-icon fa fa-cog"></i>
            <span class="menu-text"> 系统设置 </span>

            <b class="arrow fa fa-angle-down"></b>
        </a>

        <b class="arrow"></b>

        <ul class="submenu">

            <li class="${innerLi == 'showMe'?'active':''}">
                <a href="${basePath}user?method=queryMe&id=${sessionScope.user.id}">
                    <i class="menu-icon fa fa-caret-right"></i>
                    个人信息
                </a>

                <b class="arrow"></b>
            </li>
        </ul>
    </li>

</ul><!-- /.nav-list -->

<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
    <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
</div>
